import express from 'express'

const app = express();

app.get('/getName', (req, res) => {
  res.json(['小明', '小美'])
})



app.listen(4000, () => {
  console.log('server is running at http://localhost:4000');

})

